package com.artPreter.mapper;


import com.artPreter.pojo.EventExhibition;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * 活动展览表 Mapper 接口
 * </p>
 *
 * @author jarvis
 * @since 2025-01-05
 */
@Mapper
public interface EventExhibitionMapper extends BaseMapper<EventExhibition> {

    @Select(" select b.*  FROM jv_content_event_relative s left join jv_event_exhibition b on s.event_id = b.event_id ${ew.customSqlSegment} ")
    IPage<EventExhibition> getDepartRelateEventExhibitionPageList(IPage<EventExhibition> eventExhibitionIPage, @Param(Constants.WRAPPER) Wrapper wrapper);
}
